(*******************************************************************
EXE FILE HEADER INFO
*******************************************************************)
CONST
   DefaultFileMode           : byte = 0 ;        (* Default to DOS 2.x *)
   DefaultWriteMode          : byte = 2 ;        (* Default to DOS 2.x *)
TYPE
   ExeHeaderRec =                      (* Information describing EXE file *)
   record
      Signature              : word ;  (* EXE file signature *)
      LengthRem              : word ;  (* Number of bytes in last page of EXE image *)
      LengthPages            : word ;  (* Number of 512 byte pages in EXE image *)
      NumReloc               : word ;  (* Number of relocation items *)
      HeaderSize             : word ;  (* Number of paragraphs in EXE header *)
      MinHeap,
      MaxHeap                : word ;  (* Paragraphs to keep beyond end of image *)
      StackSeg,
      StackPtr               : word ;  (* Initial SS:SP, StackSeg relative to image base *)
      CheckSum               : word ;  (* EXE file check sum, not used *)
      IpInit,
      CodeSeg                : word ;  (* Initial CS:IP, CodeSeg relative to image base *)
      RelocOfs               : word ;  (* Bytes into EXE for first relocation item *)
      OverlayNum             : word ;  (* Overlay number, not used here *)
   end ;
